/*
 * @Date: 2025-01-02 15:10:11
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2025-02-25 14:33:04
 * @Description: 表格示例
 */
const metaBase = {
	isLink: '',
	isHide: false,
	isKeepAlive: true,
	isAffix: false,
	isIframe: false,
	roles: ['admin'],
	icon: 'icon-caidan',
}

export default [
  {
		path: '/examples/table',
		name: 'TableView',
		component: () => import('/@/layout/routerView/parent.vue'),
		redirect: '/examples/table/edit-table',
		meta: {
			...metaBase,
			title: '表格示例',
		},
		children: [
			{
				path: '/examples/table/base-table',
				name: 'BaseTableView',
				meta: {
					...metaBase,
					title: '基础表格',
				},
				component: () => import('@/views/examples/table/ExmpTableBase.vue'),
			},
			{
				path: '/examples/table/edit-table',
				name: 'EditTableView',
				meta: {
					...metaBase,
					title: '编辑表格',
				},
				component: () => import('@/views/examples/table/EditTableView.vue'),
			},
			{
				path: '/examples/table/pager-table',
				name: 'PagerTableView',
				meta: {
					...metaBase,
					title: '分页表格',
				},
				component: () => import('@/views/examples/table/PagerTableView.vue'),
			},
			{
				path: '/examples/table/checkbox-table',
				name: 'CheckboxTableView',
				meta: {
					...metaBase,
					title: '复选框表格',
				},
				component: () => import('@/views/examples/table/CheckboxTableView.vue'),
			},
		],
	},
]